﻿@model WebTV_Kickstarter.Message

@{
    ViewBag.Title = "Create";
    Layout = "~/Views/Shared/_Layout.cshtml";
}

<h2>Plaats bericht</h2>

@using (Html.BeginForm())
{
    @Html.AntiForgeryToken()

    <div class="form-horizontal">
        <h4>Plaats hier jouw bericht</h4>
        <hr />
        @Html.ValidationSummary(true)

        <div class="form-group">
            @Html.Label("Projectnaam:", new { @class = "control-label col-md-2" })
            <div class="col-md-10">
                @ViewBag.ProjectName
            </div>
        </div>

        <div class="form-group">
            @Html.Label("Gebruiker:", new { @class = "control-label col-md-2" })
            <div class="col-md-10">
                @ViewBag.UserName
            </div>
        </div>

        <div class="form-group">
            @Html.Label("Bericht:", new { @class = "control-label col-md-2" })
            <div class="col-md-10">
                @Html.TextAreaFor(model => model.Context)
                @Html.ValidationMessageFor(model => model.Context)
            </div>
        </div>
        
        <div class="form-group">

            <div class="col-md-10">
                @Html.HiddenFor(model => model.GebruikerId)
                @Html.HiddenFor(model => model.GebruikerId)
            </div>
        </div>
        <div class="form-group">

            <div class="col-md-10">
                @Html.HiddenFor(model => model.ProjectId)
                @Html.HiddenFor(model => model.ProjectId)
            </div>
        </div>   

        <div class="form-group">
            <div class="col-md-offset-2 col-md-10">
                <input type="submit" value="Reageer" class="btn btn-default" />
            </div>
        </div>
    </div>
}

